package cn.js.websocket;

import org.h2.tools.Backup;
import org.h2.tools.Server;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.jdbc.core.JdbcTemplate;

import java.sql.SQLException;


@SpringBootApplication
public class WebsocketApplication {



	public static void main(String[] args) throws SQLException {

		ApplicationContext applicationContext= SpringApplication.run(WebsocketApplication.class, args);
		//JdbcTemplate jdbcTemplate = applicationContext.getBean(JdbcTemplate.class);
		//Backup.execute("d:/a.zip",".","test",true);



	}
}
